﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="modArtType.aspx.cs" Inherits="Com.CMS263.Web.manage.modArtType" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <style type="text/css">
        .style1
        {
            width: 155px;
        }
        .style2
        {
            width: 199px;
        }
    </style>
    <script language="javascript" src="/js/jquery-1.4.2.min.js"></script>
    <script language="javascript" >
    var ap="<%=ap %>";
    $(function() {
        $("#outApp option").each(function() {
            if (this.value == ap) {
                this.selected = true;
            }
        });
    })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%;">
            <tr>
                <td class="style2">
                    &nbsp;
                    分类名称</td>
                <td>
                    操作</td>
               
            </tr>
                       
          
        </table>
        <table style="width:100%;">
            <tr>
                <td colspan="3" align="center" >
                   添加分类</td>
               
               
            </tr>
            <tr>
                <td class="style1">
                    分类名称：</td>
                <td>
                    <asp:TextBox ID="typeName" runat="server" Width="174px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
          
           
            <tr>
                <td class="style1">
                    排序编号</td>
                <td>
                    <asp:TextBox ID="txtOrderId" runat="server" Height="18px" Width="75px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
          
           
            <tr>
                <td class="style1">
                    是否显示</td>
                <td>
                    <asp:CheckBox ID="chkShow" runat="server" 
                        />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    外部程序连接</td>
                <td>
                    <select id="outApp" name="outApp">
                    <option value="0">使用父类外部程序</option>
                    <asp:Repeater ID="ddlList" runat="server">
                    <ItemTemplate>
                        <option value="<%#Eval("id") %>"><%#Eval("typeName")%></option>
                        </ItemTemplate>
                        </asp:Repeater>
                    </select></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td  colspan="3"   align="center">
                    <asp:Button ID="Button1" runat="server" Text="修改" onclick="Button1_Click" />
                    <asp:HiddenField ID="hdfpid" runat="server" />
                </td>
                
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
